<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://xmlns.jcp.org/jsf/core"
	xmlns:p="http://primefaces.org/ui">
<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>Classificados 1,99</title>
	<f:facet name="last">
		<h:outputStylesheet library="css" name="bootstrap.min.css"/>
		<h:outputStylesheet library="css" name="bootstrap-theme.min.css"/>
		<h:outputStylesheet library="css" name="signin.css"/>
		
	</f:facet>
</h:head>
<h:body>
	<div class="container">

      <h:form class="form-signin" role="form">
         <p:messages showSummary="true" closable="true" />
        <h2 class="form-signin-heading">Login</h2>
        <h:inputText styleClass="form-control" value="#{loginBean.nome}" required="true"></h:inputText>
        <h:inputSecret styleClass="form-control" value="#{loginBean.senha}" required="true"></h:inputSecret>
        <div class="checkbox">
          <label>
            <input type="checkbox" value="remember-me"/> Remember me
          </label>
        </div>
        <h:commandButton action="#{loginBean.logar}" class="btn btn-lg btn-primary btn-block"  value="Sign in" title="Sign in"/>
      </h:form>

    </div> 

	<h:outputScript name="bootstrap.min.js" library="js"/>
</h:body>
</html>